<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CUTLASS: cutlass::layout::PitchLinear Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="cutlass-logo-small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CUTLASS
   </div>
   <div id="projectbrief">CUDA Templates for Linear Algebra Subroutines and Solvers</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecutlass.html">cutlass</a></li><li class="navelem"><a class="el" href="namespacecutlass_1_1layout.html">layout</a></li><li class="navelem"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html">PitchLinear</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classcutlass_1_1layout_1_1PitchLinear-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cutlass::layout::PitchLinear Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Mapping function for pitch-linear memory.  
</p>

<p><code>#include &lt;<a class="el" href="pitch__linear_8h_source.html">pitch_linear.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a9d1dfd7b6d3b2b651009dcba8f5fd5cd"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a> = int32_t</td></tr>
<tr class="memdesc:a9d1dfd7b6d3b2b651009dcba8f5fd5cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Index type used for coordinates.  <a href="#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">More...</a><br /></td></tr>
<tr class="separator:a9d1dfd7b6d3b2b651009dcba8f5fd5cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a4b31740e77b3c03925f507650978ea"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a> = int64_t</td></tr>
<tr class="memdesc:a1a4b31740e77b3c03925f507650978ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Long index type used for offsets.  <a href="#a1a4b31740e77b3c03925f507650978ea">More...</a><br /></td></tr>
<tr class="separator:a1a4b31740e77b3c03925f507650978ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad44845465638b23231c081c44cf9f809"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> = <a class="el" href="structcutlass_1_1layout_1_1PitchLinearCoord.html">PitchLinearCoord</a></td></tr>
<tr class="memdesc:ad44845465638b23231c081c44cf9f809"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical coordinate.  <a href="#ad44845465638b23231c081c44cf9f809">More...</a><br /></td></tr>
<tr class="separator:ad44845465638b23231c081c44cf9f809"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afae7829f37a2c733f95b623ee51a4216"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a> = <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt; <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a31af18ae99034c00a551bab1c04c118d">kStrideRank</a>, <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a> &gt;</td></tr>
<tr class="memdesc:afae7829f37a2c733f95b623ee51a4216"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stride vector.  <a href="#afae7829f37a2c733f95b623ee51a4216">More...</a><br /></td></tr>
<tr class="separator:afae7829f37a2c733f95b623ee51a4216"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2c8c3651e1cf3282e623451a8d60f42b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a2c8c3651e1cf3282e623451a8d60f42b">PitchLinear</a> (<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a> ldm=0)</td></tr>
<tr class="memdesc:a2c8c3651e1cf3282e623451a8d60f42b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a2c8c3651e1cf3282e623451a8d60f42b">More...</a><br /></td></tr>
<tr class="separator:a2c8c3651e1cf3282e623451a8d60f42b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a827c1a15b7175bd5189a652011245302"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a827c1a15b7175bd5189a652011245302">PitchLinear</a> (<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a> _stride)</td></tr>
<tr class="memdesc:a827c1a15b7175bd5189a652011245302"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a827c1a15b7175bd5189a652011245302">More...</a><br /></td></tr>
<tr class="separator:a827c1a15b7175bd5189a652011245302"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f5a01eaffaf7e880468efa47de36eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a76f5a01eaffaf7e880468efa47de36eb">operator()</a> (<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> const &amp;coord) const </td></tr>
<tr class="separator:a76f5a01eaffaf7e880468efa47de36eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e71c63f9ba751f1415492ef581fd93a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1e71c63f9ba751f1415492ef581fd93a">inverse</a> (<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a> index) const </td></tr>
<tr class="memdesc:a1e71c63f9ba751f1415492ef581fd93a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the logical coordinate given an offset.  <a href="#a1e71c63f9ba751f1415492ef581fd93a">More...</a><br /></td></tr>
<tr class="separator:a1e71c63f9ba751f1415492ef581fd93a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31eba372074b6a977e89b687d4a13133"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a31eba372074b6a977e89b687d4a13133">stride</a> () const </td></tr>
<tr class="memdesc:a31eba372074b6a977e89b687d4a13133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a31eba372074b6a977e89b687d4a13133">More...</a><br /></td></tr>
<tr class="separator:a31eba372074b6a977e89b687d4a13133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a377d778d1e94994d5ba6e12f429cba87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a377d778d1e94994d5ba6e12f429cba87">stride</a> ()</td></tr>
<tr class="memdesc:a377d778d1e94994d5ba6e12f429cba87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a377d778d1e94994d5ba6e12f429cba87">More...</a><br /></td></tr>
<tr class="separator:a377d778d1e94994d5ba6e12f429cba87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5850245aa41daffb19906257ae6a8978"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a5850245aa41daffb19906257ae6a8978">stride</a> (int rank) const </td></tr>
<tr class="memdesc:a5850245aa41daffb19906257ae6a8978"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a5850245aa41daffb19906257ae6a8978">More...</a><br /></td></tr>
<tr class="separator:a5850245aa41daffb19906257ae6a8978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57e42968f14028356d22d3505b580a5f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a57e42968f14028356d22d3505b580a5f">stride</a> (int rank)</td></tr>
<tr class="memdesc:a57e42968f14028356d22d3505b580a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the stride of the layout.  <a href="#a57e42968f14028356d22d3505b580a5f">More...</a><br /></td></tr>
<tr class="separator:a57e42968f14028356d22d3505b580a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fb2016836e011e8c77a4b3fbb3e51d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a3fb2016836e011e8c77a4b3fbb3e51d5">capacity</a> (<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> const &amp;extent) const </td></tr>
<tr class="memdesc:a3fb2016836e011e8c77a4b3fbb3e51d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the number of contiguous elements needed to store a tensor with the given size.  <a href="#a3fb2016836e011e8c77a4b3fbb3e51d5">More...</a><br /></td></tr>
<tr class="separator:a3fb2016836e011e8c77a4b3fbb3e51d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3c76f195505f55b26d17c136a13c5f32"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html">PitchLinear</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a3c76f195505f55b26d17c136a13c5f32">packed</a> (<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> const &amp;extent)</td></tr>
<tr class="memdesc:a3c76f195505f55b26d17c136a13c5f32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Helper returns a layout to a tightly packed tensor.  <a href="#a3c76f195505f55b26d17c136a13c5f32">More...</a><br /></td></tr>
<tr class="separator:a3c76f195505f55b26d17c136a13c5f32"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:ac254460aa0a2e5d64be594cef97a28bc"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ac254460aa0a2e5d64be594cef97a28bc">kRank</a> = 2</td></tr>
<tr class="memdesc:ac254460aa0a2e5d64be594cef97a28bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logical rank of tensor.  <a href="#ac254460aa0a2e5d64be594cef97a28bc">More...</a><br /></td></tr>
<tr class="separator:ac254460aa0a2e5d64be594cef97a28bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31af18ae99034c00a551bab1c04c118d"><td class="memItemLeft" align="right" valign="top">static int const&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a31af18ae99034c00a551bab1c04c118d">kStrideRank</a> = 1</td></tr>
<tr class="memdesc:a31af18ae99034c00a551bab1c04c118d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rank of stride vector.  <a href="#a31af18ae99034c00a551bab1c04c118d">More...</a><br /></td></tr>
<tr class="separator:a31af18ae99034c00a551bab1c04c118d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a9d1dfd7b6d3b2b651009dcba8f5fd5cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">cutlass::layout::PitchLinear::Index</a> =  int32_t</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1a4b31740e77b3c03925f507650978ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">cutlass::layout::PitchLinear::LongIndex</a> =  int64_t</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afae7829f37a2c733f95b623ee51a4216"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">cutlass::layout::PitchLinear::Stride</a> =  <a class="el" href="structcutlass_1_1Coord.html">Coord</a>&lt;<a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a31af18ae99034c00a551bab1c04c118d">kStrideRank</a>, <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a>&gt;</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad44845465638b23231c081c44cf9f809"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">cutlass::layout::PitchLinear::TensorCoord</a> =  <a class="el" href="structcutlass_1_1layout_1_1PitchLinearCoord.html">PitchLinearCoord</a></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2c8c3651e1cf3282e623451a8d60f42b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> cutlass::layout::PitchLinear::PitchLinear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a>&#160;</td>
          <td class="paramname"><em>ldm</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a827c1a15b7175bd5189a652011245302"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> cutlass::layout::PitchLinear::PitchLinear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a>&#160;</td>
          <td class="paramname"><em>_stride</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3fb2016836e011e8c77a4b3fbb3e51d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a> cutlass::layout::PitchLinear::capacity </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> const &amp;&#160;</td>
          <td class="paramname"><em>extent</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a1e71c63f9ba751f1415492ef581fd93a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> cutlass::layout::PitchLinear::inverse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a>&#160;</td>
          <td class="paramname"><em>index</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a76f5a01eaffaf7e880468efa47de36eb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a1a4b31740e77b3c03925f507650978ea">LongIndex</a> cutlass::layout::PitchLinear::operator() </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> const &amp;&#160;</td>
          <td class="paramname"><em>coord</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Returns the offset of a coordinate in linear memory. Assumes coordinate has convention (contiguous, strided) </p>

</div>
</div>
<a class="anchor" id="a3c76f195505f55b26d17c136a13c5f32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html">PitchLinear</a> cutlass::layout::PitchLinear::packed </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#ad44845465638b23231c081c44cf9f809">TensorCoord</a> const &amp;&#160;</td>
          <td class="paramname"><em>extent</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a31eba372074b6a977e89b687d4a13133"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a> cutlass::layout::PitchLinear::stride </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a377d778d1e94994d5ba6e12f429cba87"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#afae7829f37a2c733f95b623ee51a4216">Stride</a>&amp; cutlass::layout::PitchLinear::stride </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a5850245aa41daffb19906257ae6a8978"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a> cutlass::layout::PitchLinear::stride </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rank</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a57e42968f14028356d22d3505b580a5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a> <a class="el" href="classcutlass_1_1layout_1_1PitchLinear.html#a9d1dfd7b6d3b2b651009dcba8f5fd5cd">Index</a>&amp; cutlass::layout::PitchLinear::stride </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rank</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="ac254460aa0a2e5d64be594cef97a28bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int const cutlass::layout::PitchLinear::kRank = 2</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a31af18ae99034c00a551bab1c04c118d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int const cutlass::layout::PitchLinear::kStrideRank = 1</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="pitch__linear_8h_source.html">pitch_linear.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
